<?php
  if (isset($_REQUEST['test']))
  {
    $challenge = $_REQUEST['test'];
    $response = md5($challenge);

    echo <<<EOS
<style type="text/css">
#rfi {
  position: relative;
  left: 50%;
  width: 600px;
  margin-left: -300px;
  padding: 1em;
  color: black;
  background-color: white;
  border: 20px solid black;
  z-index: 10000;
}
#rfi > p {
  text-align: center;
  font-weight: bold;
}
</style>
<div id="rfi">
  <p>RFI Challenge: <kbd class="challenge">{$challenge}</kbd></p>
  <p>RFI Response: <kbd class="response">{$response}</kbd></p>
</div>
EOS;
  }
?>
